<!DOCTYPE html>
<html lang="zh-cn" color-mode="light">

  <head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <meta name="keywords" content="" />
  <meta name="author" content="郁涛丶" />
  <meta name="description" content="" />
  
  
  <title>
    
      2021年终总结 
      
      
      |
    
     郁涛丶&#39;s Blog
  </title>

  
    <link rel="apple-touch-icon" href="/images/favicon.png">
    <link rel="icon" href="/images/favicon.png">
  

  <!-- Raleway-Font -->
  <link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">

  <!-- hexo site css -->
  
<link rel="stylesheet" href="/css/color-scheme.css">
<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1886449_67xjft27j1l.css">
<link rel="stylesheet" href="/css/github-markdown.css">
<link rel="stylesheet" href="/css/highlight.css">
<link rel="stylesheet" href="/css/comments.css">

  <!-- 代码块风格 -->
  
    
<link rel="stylesheet" href="/css/figcaption/mac-block.css">

  

  <!-- jquery3.3.1 -->
  
    <script defer type="text/javascript" src="/plugins/jquery.min.js"></script>
  

  <!-- fancybox -->
  
    <link href="/plugins/jquery.fancybox.min.css" rel="stylesheet">
    <script defer type="text/javascript" src="/plugins/jquery.fancybox.min.js"></script>
  
  
<script src="/js/fancybox.js"></script>


  

  <script>
    var html = document.documentElement
    const colorMode = localStorage.getItem('color-mode')
    if (colorMode) {
      document.documentElement.setAttribute('color-mode', colorMode)
    }
  </script>
<!-- hexo injector head_end start -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hexo-math@4.0.0/dist/style.css">
<!-- hexo injector head_end end --><meta name="generator" content="Hexo 5.4.0"><link rel="alternate" href="/atom.xml" title="郁涛丶's Blog" type="application/atom+xml">
</head>


  <body>
    <div id="app">
      <div class="header">
  <div class="avatar">
    <a href="/">
      <!-- 头像取消懒加载，添加no-lazy -->
      
        <img src="/images/avatar.png" alt="">
      
    </a>
    <div class="nickname"><a href="/">Ghostasky</a></div>
  </div>
  <div class="navbar">
    <ul>
      
        <li class="nav-item" data-path="/">
          <a href="/">Home</a>
        </li>
      
        <li class="nav-item" data-path="/archives/">
          <a href="/archives/">Archives</a>
        </li>
      
        <li class="nav-item" data-path="/categories/">
          <a href="/categories/">Categories</a>
        </li>
      
        <li class="nav-item" data-path="/tags/">
          <a href="/tags/">Tags</a>
        </li>
      
        <li class="nav-item" data-path="/about/">
          <a href="/about/">About</a>
        </li>
      
    </ul>
  </div>
</div>


<script src="/js/activeNav.js"></script>



      <div class="flex-container">
        <!-- 文章详情页，展示文章具体内容，url形式：https://yoursite/文章标题/ -->
<!-- 同时为「标签tag」，「朋友friend」，「分类categories」，「关于about」页面的承载页面，具体展示取决于page.type -->


    <!-- LaTex Display -->

  
    <script async type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
  
  <script>
    MathJax = {
      tex: {
        inlineMath: [['$', '$'], ['\\(', '\\)']]
      }
    }
  </script>


        
            
                <!-- clipboard -->

  
    <script async type="text/javascript" src="/plugins/clipboard.min.js"></script>
  
  
<script src="/js/codeCopy.js"></script>



                    
                        
                                
                                        
                                                
                                                        
                                                            <!-- 文章内容页 url形式：https://yoursite/文章标题/ -->
                                                            <div class="container post-details" id="post-details">
                                                                <div class="post-content">
                                                                    <div class="post-title">
                                                                        2021年终总结
                                                                    </div>
                                                                    <div class="post-attach">
                                                                        <span class="post-pubtime">
        <i class="iconfont icon-updatetime" title="Update time"></i>
        2022-02-05
      </span>

                                                                        <span class="post-pubtime"> 本文共22字 </span>

                                                                        <span class="post-pubtime">
        大约需要1min
      </span>

                                                                        
                                                                                    <span class="post-categories">
        <i class="iconfont icon-bookmark" title="Categories"></i>
        
        <span class="span--category">
          <a href="/categories/Life/" title="Life">
            <b>#</b> Life
          </a>
        </span>
                                                                                    
                                                                                        </span>
                                                                                        
                                                                            <span class="post-tags">
        <i class="iconfont icon-tags" title="Tags"></i>
        
        <span class="span--tag">
          <a href="/tags/Life/" title="Life">
            <b>#</b> Life
          </a>
        </span>
                                                                            
                                                                                </span>
                                                                                
                                                                    </div>
                                                                    <div class="markdown-body">
                                                                        <div class="hbe hbe-container" id="hexo-blog-encrypt" data-wpm="风中传来苦咸，是悔恨的气味吗?" data-whm="抱歉, 这个文章不能被校验, 不过您还是能看看解密后的内容.">
  <script id="hbeData" type="hbeData" data-hmacdigest="a5621ea910065eedcbac9cbb20911e1c558c4367fa2c02d0f6153c3be62a8029">f045e053d6254bea7b0b1b710a9b6ff641db78812865c0cd64a0ed4f92f6b37434a34370186fbe4082b23d823c34ebdc8751f010bd44239f890b38919e22e49e3f736bd7bd6eeb4ad0794b166226d0ccb366cc1dcba9f5be28957fb46b7f9d2294c17d5d1a15a78365b31afaa54b2c46b5c34526c2297c1ca52fa6274b096c2ebf502ea8700bf1d91e12495aab78aa3e6af8d6c0808c7aef247c3593adf7a994adf78a196d212a38e522610ccd72a3b3de8e5e6b4fb83ecbf3c73790eba8b72882448aa0ff3af477d9aba26707c86c0e0483f830f5dfbd16d8af0fd8b55622ead4fabe8fbc85d1f1128142c6d84907620e1967ad3b11af8f7de5dcce26d03ea9978aea3afd73d1eae91441985e04da8774f5b228ce8be50ddd923b85dad44ccc498ce28a234a99983e3c2f5226a7bde7cb4419ee2f2160dc6b8f6fb6d85ff0fdd31b42f839267b27487337dc392b292d250117b7c9a5aee1874db3f972c862497044931856beddbf1f09e445b2b58639e246ec7d9dd3b082203a872f7f38c521052b25d9dc16969e1fec785117c6ebfc7899a653ac9f4e137484ea337d7bf2c52c9c65415e42623081d44af38a951a16dfadac5cfc210833330e620d1186f90256a8d397443c6fff966b51d63a54f8b3768952670adc8e9a8800ff68c55597460450878c0db9bf963ebaf0e53085fd9ff53b7c1a836cb702f2e5460bd63a6b16014645ea596cdd4228974a70ccafaac3f226efc7435e97fef7ff5da9b5860b4b68d4ce59e6f14d692f6e0724aab0c54948c3a1298b183a346198c3e6553c64adf2d5648da7495b3a968bc9dc522751ed54a0a9d02bf5bd90c3c119b05f5fac9215bb8183ae2d8a7050837ea886f23a438d81b06efae2e590e5d011a8c56bef7fc1df80f0edd6c206c35f759330938772df3842832b05df6eb1453d089aef8382da7032656327ef3addcd92e9db8d10134c72b7bd799b5a17b398a879f70795f1e8b290458d5fd849e4428c404aa2a7998db5fe8f980fc1ab92c898b31ffbf1841f8991d9c83ab73e4ddd0b6e57e1c98049a6fda6f4b7edb1a3cc6fbabe1988af967ad004c8024f67d9089e07e9ab219bd8f2555795d8bb9a73f708272ad9899cd4ab34fed48e5f199d0e6b429f298fb14d7ff8c56fc39aa6b55efc109f8328ff5d3855d2a61c8f220732361590a25385247e1770b4f79dc13a4076e977cc03efd2642b888f762b9c6c76cf305b538f7c7f39367a259321d84897306c4d5d34f0d45da3cc7b4ab320c53b561cba9dd7d2dd2d89988cc85aee239393593f37e86bda8dd6da639820b676f4c484e7e0eb88c086f920b9e298f7591f1a7ab157f6565c4a959a7d13b0c3d44f8bc46ab077aa0faebce9a95fdb2615c5ddd0eb8cc6af5ea283e7e5b098032807b8598d33e905c4a3bfb4ad9d7951211a90d0d51a61fdc2456661353dd28dd1f8e3203fa6da3472826fcc65965ac3221759b61f66bf52997752e5dfbf825315b9f2c0d7463ecbca6f9b77dfb79c27e7c46eb7ddaffd354ac4870101f4daacc8970d48cc8a44695426a69ecfa62fec2c0ddcb8e8c38360c414d7c9b393e9a556d25046fe5a4f73bdee8f2a3869fe237beafb0fcb84c255171fa95e5f1789a1dcbe6b14eed98027d86587c6363896539951db5e00f0eeed2450344dcaf6760b24df94c5a010e12d814aa30352456397d59724907b9422cd19b42f2aa46f49a54c4ccbc1a700b514890eb0e4d55a721b128224857973385d4a6754788cf244552f62af3f3bcf0f07b22b72c3fc1d10f4bcc5feaa35c62b89a72854b910f8e6df9aa89443dc0c4b4c925e39e7d2c1d4af2a1f2f99d521dc4903db80ff2cd167473e6ce24601532d5106d5f55d3b98ce412d0bd0a12ee76beac007534aa4d7e9f8f1117e5167689626fb5a55f9cb5431b01111e938d9313e30d30a11ea88bd75c67b65a3f8cd8d5cde267e466c2ca32f9aa04d21bdc29e9c3214959a5484b139f1e188f2d2ba6fb339d5f9cf84a33587373d5c4bf057ea08c7a85f4e8622adfdf957a61b70b715dd2d12cc8bc4fd08019190c687e5661916b58cec53c991fcfc9b7cf578cb65b2596edec5c47d42aa0cb8ed0fbfc0f464410b9fe2d4b8d0c2705ffe632d418b5278aa214a7fd1d4afbda25c357027627e7a4951a7929859c7515c150ad94a64e57f945cf91c5526e146e1f0c0ea5aa58eac6e88bef4b3188470b3a1c563da9a94b8febb1351cd3228c7af1d11458e30320f80a5ca7dc6f886d6cfb3161fa11c7ff25af4c055c303a954048480c0ae61b3671cca6a96ca679a80be3f5b195160541c554cfafb42cf9c7b2d0a76feab6483eecdcbc3929082a88331b6027ba039f72c2babdf76d5c1c66278bfef385145380497484264bda6c2231962bedaa98c74f48c28d94208039e4f529b0faba22595037b49e902e01f06382fa232db3d58ef975d476bd222ac6541479707e77e09260ee49404b8c215d786835949fe02c4544df862e9785581eecc4675ba2a2738fcab73ce702c1642d375223e003df624943730ee6197c252375836c26931e1d9fbe019d676e718723bc67c5bbf8387986009ac0f6c8ded0fd3fb48b4c5d9684513b8220e5da7caae5205aabdaa7cafda4639ffa46bcadf15951d4b9d8df622a6b98c0c8e6679bc54947e42882be730f42565618cc5bd10ff94ffc800ced3abe1f3823c29658b7f9571854352bf164b5d05b1623e4fcd0d0b97900ddd8ac52a275bdec045682f22b2a6bd41d8206bba25348c21f74d027be3a44ca199d4e81ff2e92db64492ebc237ccd2a1dd0fa5bde1fbcb6e3c8edf0f1086e6e512515402e2745809247d911c011cc4c4d0b5e836ad17a3b613059df9ea4a5c3b96cfb83e11a99b8c623189ba10456aabca0987e5313b14d483998b65c4c53f3ac9121b80ecc237fd1e836152531360babec5a75c11fa38d4832aac2786830293f9e92cc1cd6e1103923044f6956b11824e7365d4e5702ebe</script>
  <div class="hbe hbe-content">
    <div class="hbe hbe-input hbe-input-wave">
      <input class="hbe hbe-input-field hbe-input-field-wave" type="password" id="hbePass">
      <label class="hbe hbe-input-label hbe-input-label-wave" for="hbePass">
        <span class="hbe hbe-input-label-content hbe-input-label-content-wave">坟墓里寂静无比，埋葬你的是所有你没说出口的话</span>
      </label>
      <svg class="hbe hbe-graphic hbe-graphic-wave" width="300%" height="100%" viewBox="0 0 1200 60" preserveAspectRatio="none">
        <path d="M0,56.5c0,0,298.666,0,399.333,0C448.336,56.5,513.994,46,597,46c77.327,0,135,10.5,200.999,10.5c95.996,0,402.001,0,402.001,0"></path>
      </svg>
    </div>
  </div>
</div>
<script data-pjax src="/lib/hbe.js"></script><link href="/css/hbe.style.css" rel="stylesheet" type="text/css">
                                                                    </div>
                                                                    
                                                                        <div class="prev-or-next">
                                                                            <div class="post-foot-next">
                                                                                
                                                                                    <a href="/2021/12/08/BUU-PWN-0x50-0x5F/" target="_self">
                                                                                        <i class="iconfont icon-chevronleft"></i>
                                                                                        <span>Prev</span>
                                                                                    </a>
                                                                                    
                                                                            </div>
                                                                            <div class="post-attach">
                                                                                <!-- <span class="post-pubtime">
              <i class="iconfont icon-updatetime" title="Update time"></i>
              2022-02-05
            </span> -->

                                                                                
                                                                                            <span class="post-categories">
          <!-- <i class="iconfont icon-bookmark" title="Categories"></i> -->
          
          <!-- <span class="span--category">
            <a href="/categories/Life/" title="Life">
              <b>#</b> Life
            </a>
          </span> -->
                                                                                            
                                                                                                </span>
                                                                                                
                                                                                    <span class="post-tags">
          <!-- <i class="iconfont icon-tags" title="Tags"></i> -->
          
          <!-- <span class="span--tag">
            <a href="/tags/Life/" title="Life">
              <b>#</b> Life
            </a>
          </span> -->
                                                                                    
                                                                                        </span>
                                                                                        
                                                                            </div>
                                                                            <div class="post-foot-prev">
                                                                                
                                                                                    <a href="/2022/02/10/%E5%86%85%E7%BD%91%E6%B8%97%E9%80%8F-%E9%9A%A7%E9%81%93%E9%9A%90%E8%97%8F/" target="_self">
                                                                                        <span>Next</span>
                                                                                        <i class="iconfont icon-chevronright"></i>
                                                                                    </a>
                                                                                    
                                                                            </div>
                                                                        </div>
                                                                        
                                                                </div>
                                                                

                                                                    
                                                                        <div class="comments-container">
                                                                            







                                                                        </div>
                                                                        
                                                            </div>
                                                            
        
<div class="footer">
  <div class="social">
    <ul>
      
        <li>
          <a title="github" target="_blank" rel="noopener" href="https://github.com/Ghostasky">
            <i class="iconfont icon-github"></i>
          </a>
        </li>
      
        <li>
          <a title="twitter" target="_blank" rel="noopener" href="https://twitter.com/ghostasky">
            <i class="iconfont icon-twitter"></i>
          </a>
        </li>
      
    </ul>
  </div>
  
    
    <div class="footer-more">
      
        <a target="_blank" rel="noopener" href="https://github.com/Ghostasky">怕什么真理无穷，进一寸有进一寸的欢喜。</a>
        
    </div>
  
    
    <div class="footer-more">
      
        <a target="_blank" rel="noopener" href="https://github.com/zchengsite/hexo-theme-oranges">Copyright © 2022 Oranges</a>
        
    </div>
  
    
    <div class="footer-more">
      
        <a target="_blank" rel="noopener" href="https://github.com/zchengsite/hexo-theme-oranges">Theme by Oranges | Powered by Hexo</a>
        
    </div>
  
</div>

      </div>

      <div class="tools-bar">
        <div class="back-to-top tools-bar-item hidden">
  <a href="javascript: void(0)">
    <i class="iconfont icon-chevronup"></i>
  </a>
</div>


<script src="/js/backtotop.js"></script>



        
  <div class="search-icon tools-bar-item" id="search-icon">
    <a href="javascript: void(0)">
      <i class="iconfont icon-search"></i>
    </a>
  </div>

  <div class="search-overlay hidden">
    <div class="search-content" tabindex="0">
      <div class="search-title">
        <span class="search-icon-input">
          <a href="javascript: void(0)">
            <i class="iconfont icon-search"></i>
          </a>
        </span>
        
          <input type="text" class="search-input" id="search-input" placeholder="Search...">
        
        <span class="search-close-icon" id="search-close-icon">
          <a href="javascript: void(0)">
            <i class="iconfont icon-close"></i>
          </a>
        </span>
      </div>
      <div class="search-result" id="search-result"></div>
    </div>
  </div>

  <script type="text/javascript">
    var inputArea = document.querySelector("#search-input")
    var searchOverlayArea = document.querySelector(".search-overlay")

    inputArea.onclick = function() {
      getSearchFile()
      this.onclick = null
    }

    inputArea.onkeydown = function() {
      if(event.keyCode == 13)
        return false
    }

    function openOrHideSearchContent() {
      let isHidden = searchOverlayArea.classList.contains('hidden')
      if (isHidden) {
        searchOverlayArea.classList.remove('hidden')
        document.body.classList.add('hidden')
        // inputArea.focus()
      } else {
        searchOverlayArea.classList.add('hidden')
        document.body.classList.remove('hidden')
      }
    }

    function blurSearchContent(e) {
      if (e.target === searchOverlayArea) {
        openOrHideSearchContent()
      }
    }

    document.querySelector("#search-icon").addEventListener("click", openOrHideSearchContent, false)
    document.querySelector("#search-close-icon").addEventListener("click", openOrHideSearchContent, false)
    searchOverlayArea.addEventListener("click", blurSearchContent, false)

    var searchFunc = function (path, search_id, content_id) {
      'use strict';
      var $input = document.getElementById(search_id);
      var $resultContent = document.getElementById(content_id);
      $resultContent.innerHTML = "<ul><span class='local-search-empty'>First search, index file loading, please wait...<span></ul>";
      $.ajax({
        // 0x01. load xml file
        url: path,
        dataType: "xml",
        success: function (xmlResponse) {
          // 0x02. parse xml file
          var datas = $("entry", xmlResponse).map(function () {
            return {
              title: $("title", this).text(),
              content: $("content", this).text(),
              url: $("url", this).text()
            };
          }).get();
          $resultContent.innerHTML = "";

          $input.addEventListener('input', function () {
            // 0x03. parse query to keywords list
            var str = '<ul class=\"search-result-list\">';
            var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
            $resultContent.innerHTML = "";
            if (this.value.trim().length <= 0) {
              return;
            }
            // 0x04. perform local searching
            datas.forEach(function (data) {
              var isMatch = true;
              var content_index = [];
              if (!data.title || data.title.trim() === '') {
                data.title = "Untitled";
              }
              var orig_data_title = data.title.trim();
              var data_title = orig_data_title.toLowerCase();
              var orig_data_content = data.content.trim().replace(/<[^>]+>/g, "");
              var data_content = orig_data_content.toLowerCase();
              var data_url = data.url;
              var index_title = -1;
              var index_content = -1;
              var first_occur = -1;
              // only match artiles with not empty contents
              if (data_content !== '') {
                keywords.forEach(function (keyword, i) {
                  index_title = data_title.indexOf(keyword);
                  index_content = data_content.indexOf(keyword);

                  if (index_title < 0 && index_content < 0) {
                    isMatch = false;
                  } else {
                    if (index_content < 0) {
                      index_content = 0;
                    }
                    if (i == 0) {
                      first_occur = index_content;
                    }
                    // content_index.push({index_content:index_content, keyword_len:keyword_len});
                  }
                });
              } else {
                isMatch = false;
              }
              // 0x05. show search results
              if (isMatch) {
                str += "<li><a href='" + data_url + "' class='search-result-title'>" + orig_data_title + "</a>";
                var content = orig_data_content;
                if (first_occur >= 0) {
                  // cut out 100 characters
                  var start = first_occur - 20;
                  var end = first_occur + 80;

                  if (start < 0) {
                    start = 0;
                  }

                  if (start == 0) {
                    end = 100;
                  }

                  if (end > content.length) {
                    end = content.length;
                  }

                  var match_content = content.substr(start, end);

                  // highlight all keywords
                  keywords.forEach(function (keyword) {
                    var regS = new RegExp(keyword, "gi");
                    match_content = match_content.replace(regS, "<span class=\"search-keyword\">" + keyword + "</span>");
                  });

                  str += "<p class=\"search-result-abstract\">" + match_content + "...</p>"
                }
                str += "</li>";
              }
            });
            str += "</ul>";
            if (str.indexOf('<li>') === -1) {
              return $resultContent.innerHTML = "<ul><span class='local-search-empty'>No result<span></ul>";
            }
            $resultContent.innerHTML = str;
          });
        },
        error: function(xhr, status, error) {
          $resultContent.innerHTML = ""
          if (xhr.status === 404) {
            $resultContent.innerHTML = "<ul><span class='local-search-empty'>The search.xml file was not found, please refer to：<a href='https://github.com/zchengsite/hexo-theme-oranges#configuration' target='_black'>configuration</a><span></ul>";
          } else {
            $resultContent.innerHTML = "<ul><span class='local-search-empty'>The request failed, Try to refresh the page or try again later.<span></ul>";
          }
        }
      });
      $(document).on('click', '#search-close-icon', function() {
        $('#search-input').val('');
        $('#search-result').html('');
      });
    }

    var getSearchFile = function() {
        var path = "/search.xml";
        searchFunc(path, 'search-input', 'search-result');
    }
  </script>




        
  <div class="tools-bar-item theme-icon" id="switch-color-scheme">
    <a href="javascript: void(0)">
      <i id="theme-icon" class="iconfont icon-moon"></i>
    </a>
  </div>

  
<script src="/js/colorscheme.js"></script>





        
  
    <div class="share-icon tools-bar-item">
      <a href="javascript: void(0)" id="share-icon">
        <i class="iconfont iconshare"></i>
      </a>
      <div class="share-content hidden">
        
          <a class="share-item" href="https://twitter.com/intent/tweet?text=' + 2021%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93 + '&url=' + https%3A%2F%2Fghostasky.github.io%2F2022%2F02%2F05%2F2021%25E5%25B9%25B4%25E7%25BB%2588%25E6%2580%25BB%25E7%25BB%2593%2F + '" target="_blank" title="Twitter">
            <i class="iconfont icon-twitter"></i>
          </a>
        
        
          <a class="share-item" href="https://www.facebook.com/sharer.php?u=https://ghostasky.github.io/2022/02/05/2021%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/" target="_blank" title="Facebook">
            <i class="iconfont icon-facebooksquare"></i>
          </a>
        
      </div>
    </div>
  
  
<script src="/js/shares.js"></script>



      </div>
    </div>
  </body>
</html>
